package com.yunpuvip.sachet.modular.constant.enumconstant;

/**
 * @ auther wushaohong
 * @ date  2019/8/11
 **/
public enum OrderStatus {
    WAIT_PAY(1,"待支付"),
    PAID(2,"已支付"),
    CANCLE(3,"已取消"),
        ;

    private Integer status;
    private String msg;

    OrderStatus(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "OrderStatus{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                '}';
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
